package com.three.service;

import com.baor.baseUtil.R;
import com.three.domain.Projectmembers;
import com.three.domain.Projects;
import com.three.domain.Subprojects;
import com.three.domain.Tasks;

import java.util.List;
import java.util.Map;

public interface ProjectsService {
    public R projectsList(String keyword, String start_date, String end_date, Integer pageIndex, Integer pageSize);
    public R addProjects(Projects projects);
    public R tasksList(String keyword, String start_date, String end_date, Integer pageIndex, Integer pageSize, Integer project_id, Integer subproject_id);
    public R addTasks(Tasks tasks);
    public R updateTasks(Tasks tasks);
    public R deleteTasks(Integer task_id, Integer subproject_id, Integer project_id);
    public R projectsListByTeacher(Map<String,Object> map);
    public R projectmembersList(Integer project_id);
    public R notInProjectmembers();
    public R addProjectmembers(List<Projectmembers> pmList);


    public R subprojectsList(Integer project_id, Integer pageIndex, Integer pageSize);
    public R addSubprojects(Subprojects subprojects);


    public R updateTasksByStudent(Tasks tasks);
}
